package com.shop.clientorder.service;

import java.util.List;
import com.shop.clientorder.domain.OmsOrder;
import com.shop.clientorder.domain.OrderReq;
import com.shop.clientorder.domain.OrderVo;

/**
 * 订单Service接口
 *
 * @author czb
 * @date 2024-06-25
 */
public interface IOmsOrderService
{
    /**
     * 查询订单
     *
     * @param id 订单主键
     * @return 订单
     */
    public OmsOrder selectOmsOrderById(Long id);

    /**
     * 查询订单列表
     *
     * @param omsOrder 订单
     * @return 订单集合
     */
    public List<OmsOrder> selectOmsOrderList(OmsOrder omsOrder);

    /**
     * 新增订单
     *
     * @param orderVo@return 结果
     */
    public int insertOmsOrder(OrderVo orderVo);

    /**
     * 修改订单
     *
     * @param omsOrder 订单
     * @return 结果
     */
    public int updateOmsOrder(OmsOrder omsOrder);

    /**
     * 批量删除订单
     *
     * @param ids 需要删除的订单主键集合
     * @return 结果
     */
    public int deleteOmsOrderByIds(Long[] ids);

    /**
     * 删除订单信息
     *
     * @param id 订单主键
     * @return 结果
     */
    public int deleteOmsOrderById(Long id);

    List<OmsOrder> selectClirentOrderList(OrderReq orderReq);
}
